package com.huangwei.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
@Data
@ToString
@ApiModel("用户角色对应表")
public class UserRole implements Serializable {
    @ApiModelProperty("用户ID")
    private Integer userId;
    @ApiModelProperty("角色ID")
    private Integer roleId;
}
